﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152"), DebuggerStepThrough, DesignerCategory("code")]
    public class RecordingCapabilities
    {
        private XmlAttribute[] anyAttrField;
        private XmlElement[] anyField;
        private bool dynamicRecordingsField;
        private bool dynamicTracksField;
        private int maxStringLengthField;
        private bool mediaProfileSourceField;
        private bool receiverSourceField;
        private string xAddrField;

        [XmlAnyElement(Order=6)]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=3)]
        public bool DynamicRecordings
        {
            get
            {
                return this.dynamicRecordingsField;
            }
            set
            {
                this.dynamicRecordingsField = value;
            }
        }

        [XmlElement(Order=4)]
        public bool DynamicTracks
        {
            get
            {
                return this.dynamicTracksField;
            }
            set
            {
                this.dynamicTracksField = value;
            }
        }

        [XmlElement(Order=5)]
        public int MaxStringLength
        {
            get
            {
                return this.maxStringLengthField;
            }
            set
            {
                this.maxStringLengthField = value;
            }
        }

        [XmlElement(Order=2)]
        public bool MediaProfileSource
        {
            get
            {
                return this.mediaProfileSourceField;
            }
            set
            {
                this.mediaProfileSourceField = value;
            }
        }

        [XmlElement(Order=1)]
        public bool ReceiverSource
        {
            get
            {
                return this.receiverSourceField;
            }
            set
            {
                this.receiverSourceField = value;
            }
        }

        [XmlElement(DataType="anyURI", Order=0)]
        public string XAddr
        {
            get
            {
                return this.xAddrField;
            }
            set
            {
                this.xAddrField = value;
            }
        }
    }
}

